class TabController < ApplicationController

  before_filter :verify_session
  def borrowbook
    session['tab']=1
    redirect_to :controller => 'out',:action => 'index'
  end
  
  def comment
    session['tab']=2
    redirect_to :controller => 'comment',:action => 'list'
  end
  
  
  def usermng
    session['tab']=4
    redirect_to :controller => 'reader',:action => 'index'
  end
end
